#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include "dominion.h"
#include "interface.h"
#include "rngs.h"

int testzzzSmithyCardPlay(int i, int currentPlayer, int handPos, struct gameState *state)
{
	int temp1 = 0;
	int temp2 = 0;

	temp1 = numHandCards(state);
	//zzzsmithycardplay(i, currentPlayer, handPos, state);
	temp2 = numHandCards(state);

	// smithy adds 3 but we spend the original card. So we check temp - 2
	if( temp1 != (temp2 - 2))
	{
		printf("The number of cards did not add up correctly.\n");
		return 1;
	}
	return 0;
}

int main3(int argc, char *argv[])
{
	struct gameState *myGame;
	int k[10] = {adventurer, gardens, embargo, village, minion, mine, cutpurse, sea_hag, tribute, smithy};
	int i = 0;

	initializeGame(2, k, 1,myGame);
	myGame->hand[myGame->whoseTurn][0] = smithy;
	testzzzSmithyCardPlay(i,myGame->whoseTurn,0, myGame );
}